using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class GUI_Webpage_Manager_ManageOrderFood : System.Web.UI.Page
{

    /// <summary>
    /// By Phuong
    /// Date: 5/5/2009
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>

    protected void Page_Load(object sender, EventArgs e)
    {
        LoadAllOrder();
    }


    #region List all food ordering order
    public void LoadAllOrder()
    {
        OrderFoodBll orderFoodBll = new OrderFoodBll();
        try
        {
            SqlDataReader reader = orderFoodBll.ListAllOrderFood();
            grvListFoodOrder.DataSource = reader;
            grvListFoodOrder.DataBind();
        }
        catch (Exception ex)
        {
            Response.Write(ex.Message);
        }
    }
    #endregion
}
